import 'dart:convert' as jsonUtils;

class UserRider {
  String _searchValue;
  String _createBy;
  String _createTime;
  String _updateBy;
  String _updateTime;
  String _remark;
  String _params;
  int _userId;
  String _deptId;
  String _loginName;
  String _userName;
  String _userType;
  String _email;
  String _phonenumber;
  String _order;
  String _drivingPhoto;
  String _drivingLicense;
  String _star;
  String _sex;
  String _avatar;
  String _password;
  String _salt;
  String _status;
  String _delFlag;
  String _vehicle;
  String _qualified;
  String _learn;
  String _open;
  String _loginIp;
  String _loginDate;

  UserRider(
      {String searchValue,
      String createBy,
      String createTime,
      String updateBy,
      String updateTime,
      String remark,
      String params,
      int userId,
      String deptId,
      String loginName,
      String userName,
      String userType,
      String email,
      String phonenumber,
      String order,
      String drivingPhoto,
      String drivingLicense,
      String star,
      String sex,
      String avatar,
      String password,
      String salt,
      String status,
      String delFlag,
      String vehicle,
      String qualified,
      String learn,
      String open,
      String loginIp,
      String loginDate}) {
    this._searchValue = searchValue;
    this._createBy = createBy;
    this._createTime = createTime;
    this._updateBy = updateBy;
    this._updateTime = updateTime;
    this._remark = remark;
    this._params = params;
    this._userId = userId;
    this._deptId = deptId;
    this._loginName = loginName;
    this._userName = userName;
    this._userType = userType;
    this._email = email;
    this._phonenumber = phonenumber;
    this._order = order;
    this._drivingPhoto = drivingPhoto;
    this._drivingLicense = drivingLicense;
    this._star = star;
    this._sex = sex;
    this._avatar = avatar;
    this._password = password;
    this._salt = salt;
    this._status = status;
    this._delFlag = delFlag;
    this._vehicle = vehicle;
    this._qualified = qualified;
    this._learn = learn;
    this._open = open;
    this._loginIp = loginIp;
    this._loginDate = loginDate;
  }

  String get searchValue => _searchValue;

  set searchValue(String searchValue) => _searchValue = searchValue;

  String get createBy => _createBy;

  set createBy(String createBy) => _createBy = createBy;

  String get createTime => _createTime;

  set createTime(String createTime) => _createTime = createTime;

  String get updateBy => _updateBy;

  set updateBy(String updateBy) => _updateBy = updateBy;

  String get updateTime => _updateTime;

  set updateTime(String updateTime) => _updateTime = updateTime;

  String get remark => _remark;

  set remark(String remark) => _remark = remark;

  String get params => _params;

  set params(String params) => _params = params;

  int get userId => _userId;

  set userId(int userId) => _userId = userId;

  String get deptId => _deptId;

  set deptId(String deptId) => _deptId = deptId;

  String get loginName => _loginName;

  set loginName(String loginName) => _loginName = loginName;

  String get userName => _userName;

  set userName(String userName) => _userName = userName;

  String get userType => _userType;

  set userType(String userType) => _userType = userType;

  String get email => _email;

  set email(String email) => _email = email;

  String get phonenumber => _phonenumber;

  set phonenumber(String phonenumber) => _phonenumber = phonenumber;

  String get order => _order;

  set order(String order) => _order = order;

  String get drivingPhoto => _drivingPhoto;

  set drivingPhoto(String drivingPhoto) => _drivingPhoto = drivingPhoto;

  String get drivingLicense => _drivingLicense;

  set drivingLicense(String drivingLicense) => _drivingLicense = drivingLicense;

  String get star => _star;

  set star(String star) => _star = star;

  String get sex => _sex;

  set sex(String sex) => _sex = sex;

  String get avatar => _avatar;

  set avatar(String avatar) => _avatar = avatar;

  String get password => _password;

  set password(String password) => _password = password;

  String get salt => _salt;

  set salt(String salt) => _salt = salt;

  String get status => _status;

  set status(String status) => _status = status;

  String get delFlag => _delFlag;

  set delFlag(String delFlag) => _delFlag = delFlag;

  String get vehicle => _vehicle;

  set vehicle(String vehicle) => _vehicle = vehicle;

  String get qualified => _qualified;

  set qualified(String qualified) => _qualified = qualified;

  String get learn => _learn;

  set learn(String learn) => _learn = learn;

  String get open => _open;

  set open(String open) => _open = open;

  String get loginIp => _loginIp;

  set loginIp(String loginIp) => _loginIp = loginIp;

  String get loginDate => _loginDate;

  set loginDate(String loginDate) => _loginDate = loginDate;

  UserRider.fromJson(Map<String, dynamic> json) {
    _searchValue = json['searchValue'];
    _createBy = json['createBy'];
    _createTime = json['createTime'];
    _updateBy = json['updateBy'];
    _updateTime = json['updateTime'];
    _remark = json['remark'];
    _params = jsonUtils.json.encode(json['params']);
    _userId = json['userId'];
    _deptId = json['deptId'];
    _loginName = json['loginName'];
    _userName = json['userName'];
    _userType = json['userType'];
    _email = json['email'];
    _phonenumber = json['phonenumber'];
    _order = json['order'];
    _drivingPhoto = json['drivingPhoto'];
    _drivingLicense = json['drivingLicense'];
    _star = json['star'];
    _sex = json['sex'];
    _avatar = json['avatar'];
    _password = json['password'];
    _salt = json['salt'];
    _status = json['status'];
    _delFlag = json['delFlag'];
    _vehicle = json['vehicle'];
    _qualified = json['qualified'];
    _learn = json['learn'];
    _open = json['open'];
    _loginIp = json['loginIp'];
    _loginDate = json['loginDate'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['searchValue'] = this._searchValue;
    data['createBy'] = this._createBy;
    data['createTime'] = this._createTime;
    data['updateBy'] = this._updateBy;
    data['updateTime'] = this._updateTime;
    data['remark'] = this._remark;
    data['params'] = this._params;
    data['userId'] = this._userId;
    data['deptId'] = this._deptId;
    data['loginName'] = this._loginName;
    data['userName'] = this._userName;
    data['userType'] = this._userType;
    data['email'] = this._email;
    data['phonenumber'] = this._phonenumber;
    data['order'] = this._order;
    data['drivingPhoto'] = this._drivingPhoto;
    data['drivingLicense'] = this._drivingLicense;
    data['star'] = this._star;
    data['sex'] = this._sex;
    data['avatar'] = this._avatar;
    data['password'] = this._password;
    data['salt'] = this._salt;
    data['status'] = this._status;
    data['delFlag'] = this._delFlag;
    data['vehicle'] = this._vehicle;
    data['qualified'] = this._qualified;
    data['learn'] = this._learn;
    data['open'] = this._open;
    data['loginIp'] = this._loginIp;
    data['loginDate'] = this._loginDate;
    return data;
  }
}
